import 'package:flutter/material.dart';

class MyRow {
  static Widget rowByAlignment(){
    return ListView(
      children: [
        Container(
          margin: EdgeInsets.all(5),
          color: Colors.black26,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.start,
            children: [
              Container(
                width: 100,
                height: 80,
                color: Colors.green,
              ),
              Container(
                width: 100,
                height: 80,
                color: Colors.blue,
              ),
              Container(
                width: 100,
                height: 80,
                color: Colors.red,
              ),
            ],
          ),
        ),
        Container(
          margin: EdgeInsets.all(5),
          color: Colors.black26,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Container(
                width: 100,
                height: 80,
                color: Colors.green,
              ),
              Container(
                width: 100,
                height: 80,
                color: Colors.blue,
              ),
              Container(
                width: 100,
                height: 80,
                color: Colors.red,
              ),
            ],
          ),
        ),
        Container(
          margin: EdgeInsets.all(5),
          color: Colors.black26,
          height: 150,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.center,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Container(
                width: 100,
                height: 80,
                color: Colors.green,
              ),
              Container(
                width: 100,
                height: 80,
                color: Colors.blue,
              ),
              Container(
                width: 100,
                height: 80,
                color: Colors.red,
              ),
            ],
          ),
        ),
      ],
    );
  }
}